@echo off

set mc=compiled\debug\MapCompiler.exe
set p=artwork\Maps
rem set map=/verbose /output=%p%\
set map=/verbose /output=%p%\

for /F %%i in ('dir /B %p%\*.map') do call :add_name %%i

call %mc% %map%

exit /B 0

:add_name
	set map=%map% %p%\%1
exit /B 0